// RUN_PIPELINE_TILL: FRONTEND
// FIR_IDENTICAL
open class A {
    final fun foo() {}
}

class B : A() {
    <!OVERRIDING_FINAL_MEMBER!>override<!> fun foo() {}
}

/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, override */
